package com.cplatform.movie.back.order.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Title.物流信息实体类 <br>
 * Description.
 * <p>
 * Copyright: Copyright (c) 2015年6月29日 下午2:39:21
 * <p>
 * Author: liuyt
 * <p>
 * Version: 1.0
 * <p>
 */
@Entity
@Table(name = "T_SMALL_LOGISTICS")
public class Logistics {
	private Long id; 
	private Long orderId;		// 订单编号
	private String realName; 	// 收件人姓名
	private String realTel;		// 收件人电话
	private String address;		// 地址
	private Long status;		// 物流状态
	private Long type;			// 物流方式（后台使用） 1:自运 2：第三方物流
	private String logisticsId;	// 第三方物流编号(后台使用)
	
	
	@Id
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name = "ORDER_ID")
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	
	@Column(name = "REAL_NAME")
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	
	@Column(name = "REAL_TEL")
	public String getRealTel() {
		return realTel;
	}
	public void setRealTel(String realTel) {
		this.realTel = realTel;
	}
	
	@Column(name = "ADDRESS")
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	@Column(name = "STATUS")
	public Long getStatus() {
		return status;
	}
	public void setStatus(Long status) {
		this.status = status;
	}
	
	@Column(name = "TYPE")
	public Long getType() {
		return type;
	}
	public void setType(Long type) {
		this.type = type;
	}
	
	@Column(name = "LOGISTICS_ID")
	public String getLogisticsId() {
		return logisticsId;
	}
	public void setLogisticsId(String logisticsId) {
		this.logisticsId = logisticsId;
	}
	
}
